[INFO] cloning repository https://github.com/adnelson/nix-browse
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adnelson/nix-browse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadnelson%2Fnix-browse", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadnelson%2Fnix-browse'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 921245482ae7056849f6f575b7d630c170dc2a23
[INFO] checking adnelson/nix-browse against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadnelson%2Fnix-browse" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/adnelson/nix-browse
[INFO] finished tweaking git repo https://github.com/adnelson/nix-browse
[INFO] tweaked toml for git repo https://github.com/adnelson/nix-browse written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/adnelson/nix-browse on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/adnelson/nix-browse already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unescape v0.1.0
[INFO] [stderr]   Downloaded syn v0.11.9
[INFO] [stderr]   Downloaded serde_json v0.9.9
[INFO] [stderr]   Downloaded utf8-ranges v1.0.0
[INFO] [stderr]   Downloaded thread-id v3.0.0
[INFO] [stderr]   Downloaded bitflags v0.8.0
[INFO] [stderr]   Downloaded serde_derive v0.9.11
[INFO] [stderr]   Downloaded serde v0.9.11
[INFO] [stderr]   Downloaded strsim v0.6.0
[INFO] [stderr]   Downloaded vec_map v0.7.0
[INFO] [stderr]   Downloaded term_size v0.2.3
[INFO] [stderr]   Downloaded serde_codegen_internals v0.14.1
[INFO] [stderr]   Downloaded memchr v1.0.1
[INFO] [stderr]   Downloaded thread_local v0.3.3
[INFO] [stderr]   Downloaded aho-corasick v0.6.2
[INFO] [stderr]   Downloaded lazy_static v0.2.4
[INFO] [stderr]   Downloaded atty v0.2.2
[INFO] [stderr]   Downloaded unicode-segmentation v1.1.0
[INFO] [stderr]   Downloaded libc v0.2.21
[INFO] [stderr]   Downloaded regex-syntax v0.4.0
[INFO] [stderr]   Downloaded regex v0.2.1
[INFO] [stderr]   Downloaded clap v2.21.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 49231dea945108ca7ae9d5aee9a252dcffb79fa8d79c533872cc8b8a620ea690
[INFO] running `Command { std: "docker" "start" "-a" "49231dea945108ca7ae9d5aee9a252dcffb79fa8d79c533872cc8b8a620ea690", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "49231dea945108ca7ae9d5aee9a252dcffb79fa8d79c533872cc8b8a620ea690", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49231dea945108ca7ae9d5aee9a252dcffb79fa8d79c533872cc8b8a620ea690", kill_on_drop: false }`
[INFO] [stdout] 49231dea945108ca7ae9d5aee9a252dcffb79fa8d79c533872cc8b8a620ea690
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fb278bf432a5297f3f95556ede09bc745a97045663bd600f4033efb71819020
[INFO] running `Command { std: "docker" "start" "-a" "4fb278bf432a5297f3f95556ede09bc745a97045663bd600f4033efb71819020", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking libc v0.2.21
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]     Checking strsim v0.6.0
[INFO] [stderr]     Checking serde v0.9.11
[INFO] [stderr]     Checking vec_map v0.7.0
[INFO] [stderr]     Checking regex-syntax v0.4.0
[INFO] [stderr]     Checking ansi_term v0.9.0
[INFO] [stderr]     Checking unicode-width v0.1.4
[INFO] [stderr]     Checking itoa v0.3.1
[INFO] [stderr]     Checking unicode-segmentation v1.1.0
[INFO] [stderr]     Checking utf8-ranges v1.0.0
[INFO] [stderr]     Checking dtoa v0.4.1
[INFO] [stderr]     Checking bitflags v0.8.0
[INFO] [stderr]     Checking num-traits v0.1.37
[INFO] [stderr]     Checking unreachable v0.1.1
[INFO] [stderr]     Checking lazy_static v0.2.4
[INFO] [stderr]     Checking unescape v0.1.0
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]     Checking thread-id v3.0.0
[INFO] [stderr]     Checking memchr v1.0.1
[INFO] [stderr]     Checking term_size v0.2.3
[INFO] [stderr]     Checking atty v0.2.2
[INFO] [stderr]    Compiling syn v0.11.9
[INFO] [stderr]     Checking thread_local v0.3.3
[INFO] [stderr]     Checking aho-corasick v0.6.2
[INFO] [stderr]     Checking clap v2.21.1
[INFO] [stderr]     Checking regex v0.2.1
[INFO] [stderr]    Compiling serde_codegen_internals v0.14.1
[INFO] [stderr]    Compiling serde_derive v0.9.11
[INFO] [stderr]     Checking serde_json v0.9.9
[INFO] [stderr]     Checking nix-browse v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `regex::Regex`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use regex::Regex;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FromIterator`
[INFO] [stdout]  --> src/parse_nix_instantiate.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::iter::{Peekable, FromIterator};
[INFO] [stdout]   |                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::slice`
[INFO] [stdout]  --> src/parse_nix_instantiate.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::slice;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::Regex`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use regex::Regex;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::slice`
[INFO] [stdout]  --> src/parse_nix_instantiate.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::slice;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/parse_nix_instantiate.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / lazy_static! {
[INFO] [stdout] 15 | | pub static ref NIX_INSTANTIATE_OUTPUT_RE: Regex = Regex::new(r#"(?x)
[INFO] [stdout] 16 | |   -?\d+                                     # Number
[INFO] [stdout] 17 | |   | [a-zA-Z][\w_\-']*                       # Identifier
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | "#).unwrap();
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/parse_nix_instantiate.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / lazy_static! {
[INFO] [stdout] 15 | | pub static ref NIX_INSTANTIATE_OUTPUT_RE: Regex = Regex::new(r#"(?x)
[INFO] [stdout] 16 | |   -?\d+                                     # Number
[INFO] [stdout] 17 | |   | [a-zA-Z][\w_\-']*                       # Identifier
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | "#).unwrap();
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/parse_nix_instantiate.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / lazy_static! {
[INFO] [stdout] 15 | | pub static ref NIX_INSTANTIATE_OUTPUT_RE: Regex = Regex::new(r#"(?x)
[INFO] [stdout] 16 | |   -?\d+                                     # Number
[INFO] [stdout] 17 | |   | [a-zA-Z][\w_\-']*                       # Identifier
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | "#).unwrap();
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/parse_nix_instantiate.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | /         lazy_static! {
[INFO] [stdout] 38 | |             static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap();
[INFO] [stdout] 39 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/parse_nix_instantiate.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | / lazy_static! {
[INFO] [stdout] 15 | | pub static ref NIX_INSTANTIATE_OUTPUT_RE: Regex = Regex::new(r#"(?x)
[INFO] [stdout] 16 | |   -?\d+                                     # Number
[INFO] [stdout] 17 | |   | [a-zA-Z][\w_\-']*                       # Identifier
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | | "#).unwrap();
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/parse_nix_instantiate.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | /         lazy_static! {
[INFO] [stdout] 38 | |             static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap();
[INFO] [stdout] 39 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/parse_nix_instantiate.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | /         lazy_static! {
[INFO] [stdout] 38 | |             static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap();
[INFO] [stdout] 39 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/parse_nix_instantiate.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | /         lazy_static! {
[INFO] [stdout] 38 | |             static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap();
[INFO] [stdout] 39 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/parse_nix_instantiate.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[derive(Debug, PartialEq, Serialize)]
[INFO] [stdout]    |                            ^^^^^^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `Token` is not local
[INFO] [stdout]    |                            `Serialize` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Token`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `int_re` should have an upper case name
[INFO] [stdout]   --> src/parse_nix_instantiate.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |             static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap();
[INFO] [stdout]    |                        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 38 -             static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap();
[INFO] [stdout] 38 +             static ref INT_RE: Regex = Regex::new(r"^-?\d+$").unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/parse_nix_instantiate.rs:91:28
[INFO] [stdout]    |
[INFO] [stdout] 91 | #[derive(Debug, PartialEq, Serialize)]
[INFO] [stdout]    |                            ^^^^^^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `Value` is not local
[INFO] [stdout]    |                            `Serialize` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/parse_nix_instantiate.rs:131:28
[INFO] [stdout]     |
[INFO] [stdout] 131 | #[derive(Debug, PartialEq, Serialize)]
[INFO] [stdout]     |                            ^^^^^^^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            `ParseError` is not local
[INFO] [stdout]     |                            `Serialize` is not local
[INFO] [stdout]     |                            move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ParseError`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/parse_nix_instantiate.rs:226:28
[INFO] [stdout]     |
[INFO] [stdout] 226 | #[derive(Debug, PartialEq, Serialize)]
[INFO] [stdout]     |                            ^^^^^^^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            `InstantiationError` is not local
[INFO] [stdout]     |                            `Serialize` is not local
[INFO] [stdout]     |                            move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InstantiationError`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/parse_nix_instantiate.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[derive(Debug, PartialEq, Serialize)]
[INFO] [stdout]    |                            ^^^^^^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `Token` is not local
[INFO] [stdout]    |                            `Serialize` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Token`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `int_re` should have an upper case name
[INFO] [stdout]   --> src/parse_nix_instantiate.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |             static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap();
[INFO] [stdout]    |                        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 38 -             static ref int_re: Regex = Regex::new(r"^-?\d+$").unwrap();
[INFO] [stdout] 38 +             static ref INT_RE: Regex = Regex::new(r"^-?\d+$").unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/parse_nix_instantiate.rs:91:28
[INFO] [stdout]    |
[INFO] [stdout] 91 | #[derive(Debug, PartialEq, Serialize)]
[INFO] [stdout]    |                            ^^^^^^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `Value` is not local
[INFO] [stdout]    |                            `Serialize` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Value`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/parse_nix_instantiate.rs:131:28
[INFO] [stdout]     |
[INFO] [stdout] 131 | #[derive(Debug, PartialEq, Serialize)]
[INFO] [stdout]     |                            ^^^^^^^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            `ParseError` is not local
[INFO] [stdout]     |                            `Serialize` is not local
[INFO] [stdout]     |                            move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ParseError`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/parse_nix_instantiate.rs:226:28
[INFO] [stdout]     |
[INFO] [stdout] 226 | #[derive(Debug, PartialEq, Serialize)]
[INFO] [stdout]     |                            ^^^^^^^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            `InstantiationError` is not local
[INFO] [stdout]     |                            `Serialize` is not local
[INFO] [stdout]     |                            move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_InstantiationError`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.48s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "4fb278bf432a5297f3f95556ede09bc745a97045663bd600f4033efb71819020", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fb278bf432a5297f3f95556ede09bc745a97045663bd600f4033efb71819020", kill_on_drop: false }`
[INFO] [stdout] 4fb278bf432a5297f3f95556ede09bc745a97045663bd600f4033efb71819020
